package com.tianyadu.order.repository;

import com.tianyadu.order.domain.OrderDetail;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @FileName: OrderDetailRepository
 * @Description:
 * @author: xueyj
 * @create: 2018-07-02 21:54
 */
@Repository
public interface OrderDetailRepository extends PagingAndSortingRepository<OrderDetail, String> {

    List<OrderDetail> findByOrderId(String orderId);
}
